package models.domain;

import javax.persistence.*;

@Embeddable
public class User {

	@Column(name = "userName", length = 50)
	private String userName;

	@Column(name = "Password", length = 10)
	private String Password;

	@Column(name = "businessUser", length = 10)
	private Boolean businessUser;

	public User() {
		super();
	}

	public User(String userName, String password, Boolean bussinessUser) {
		super();
		this.userName = userName;
		Password = password;
		this.businessUser = bussinessUser;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return Password;
	}

	public void setPassword(String password) {
		Password = password;
	}

	public Boolean getBussinessUser() {
		return businessUser;
	}

	public void setBussinessUser(Boolean bussinessUser) {
		this.businessUser = bussinessUser;
	}

	/*
	 * public Integer getId() { return id; }
	 * 
	 * public void setId(Integer id) { this.id = id; }
	 */
}
